package com.djl.springcloud.alibaba.controller;

import com.djl.springcloud.service.IMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: cloud2020
 * @description:
 * @author: Mr.dai
 * @create: 2021-09-28 20:39
 **/
@RestController
public class SendMessageController {

    @Autowired
    private IMessageProvider iMessageProvider;

    @GetMapping(value = "/Message")
    public String sendMsg(){
        return iMessageProvider.send();
    }
}
